<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!--LOGO及搜索-->
<div class="tlbg">
	<div class="tl_content">
		<div class="tl_cright clearfix">
			<ul class="w410">
				<li class="lines"></li>
				<li>
					<a href="<%=request.getContextPath()%>/" target="_blank">English</a>
				</li>
				<li class="lines"></li>
				<li>
					<a href="<%=request.getContextPath()%>/pages.do?t=10">帮助</a>
				</li>
				<li class="lines"></li>
				<li>
					<a href="<%=request.getContextPath()%>/" title="易安首页">易安首页</a>
				</li>
				<s:if test="#request.userId != null">
				<li class="lines"></li>
				<li>
					<a href="<%=request.getContextPath()%>/main.do?sid=2" title="我的易安">我的易安</a>
				</li>
				</s:if>
				<!-- 
				<s:if test="#request.userId!=null">
				<li class="lines"></li>
				<li>
					<a href="<%=request.getContextPath()%>/main.do?sid=1" title="我的易安">防伪封条</a>
				</li>
				<li class="lines"></li>
				<li>
					<a href="<%=request.getContextPath()%>/main.do?sid=2" title="我的易安2">防伪条码</a>
				</li>
				</s:if>
				 -->
			</ul>
			<s:if test="#request.userId==null">
				<span>您好，欢迎来到易安网！</span><a href="<%=request.getContextPath()%>/loginPage.do" class="blue2">请登录</a>&nbsp;<a href="<%=request.getContextPath()%>/regist_page.do" class="blue2">会员注册</a>&nbsp;
			</s:if>
			<s:else>
			<span id="loginstate">
				<span>${userId}，欢迎来到易安网！</span><a href="<%=request.getContextPath()%>/logout.do" class="blue2">退出</a>
			</span>
			</s:else>
		</div>
	</div>
</div>